﻿using BasicData.ErrorCode;
using MediatR;

namespace BasicData.Write.API.application.Command.Permission
{
    /// <summary>
    /// 编辑权限
    /// </summary>
    public class UpdatePermissionCommand : IRequest<ApiResult<object>>
    {
        /// <summary>
        /// 权限Id
        /// </summary>
        public int PermissionId { get; set; }
        /// <summary>
        ///权限名称
        /// </summary>
        public string PermissionName { get; set; }
        /// <summary>
        /// 权限路径
        /// </summary>
        public string PermissionPath { get; set; }
        /// <summary>
        /// 父级Id
        /// </summary>
        public int ParentId { get; set; }
        /// <summary>
        /// 权限图标
        /// </summary>
        public string PermissionIcoon { get; set; }
        /// <summary>
        /// 权限状态
        /// </summary>
        public bool Status { get; set; }
        /// <summary>
        /// 权限排序
        /// </summary>
        public int PermissionIndex { get; set; }
    }
}
